//---------------------------------------------------------------------------
//
// Name:        HostJoinDialog.h
// Author:      gurkesaft
// Created:     12/30/2007 12:15:53 PM
// Description: HostJoinDialog class declaration
//
//---------------------------------------------------------------------------

#ifndef __HOSTJOINDIALOG_h__
#define __HOSTJOINDIALOG_h__

#ifdef __BORLANDC__
	#pragma hdrstop
#endif

#ifndef WX_PRECOMP
	#include <wx/wx.h>
	#include <wx/dialog.h>
#else
	#include <wx/wxprec.h>
#endif

//Do not add custom headers between 
//Header Include Start and Header Include End.
//wxDev-C++ designer will remove them. Add custom headers after the block.
////Header Include Start
#include <wx/button.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/panel.h>
////Header Include End

////Dialog Style Start
#undef HostJoinDialog_STYLE
#define HostJoinDialog_STYLE wxCAPTION | wxSYSTEM_MENU | wxDIALOG_NO_PARENT
////Dialog Style End

class HostJoinDialog : public wxDialog
{
	private:
		DECLARE_EVENT_TABLE();
		
	public:
		HostJoinDialog(wxWindow *parent, wxWindowID id = 1, const wxString &title = wxT("Network Setup"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = HostJoinDialog_STYLE);
		virtual ~HostJoinDialog();
		void buttonGoForItClick(wxCommandEvent& event);
		void buttonCancelClick(wxCommandEvent& event);
	
	public:
		//Do not add custom control declarations between 
		//GUI Control Declaration Start and GUI Control Declaration End.
		//wxDev-C++ will remove them. Add custom code after the block.
		////GUI Control Declaration Start
		wxButton *buttonCancel;
		wxButton *buttonGoForIt;
		wxStaticText *WxStaticText6;
		wxTextCtrl *editPort;
		wxStaticText *WxStaticText5;
		wxTextCtrl *editAddress;
		wxStaticText *WxStaticText3;
		wxTextCtrl *editName;
		wxPanel *WxPanel1;
		////GUI Control Declaration End
		
	private:
		//Note: if you receive any error with these enum IDs, then you need to
		//change your old form code that are based on the #define control IDs.
		//#defines may replace a numeric value for the enum names.
		//Try copy and pasting the below block in your old form header files.
		enum
		{
			////GUI Enum Control ID Start
			ID_BUTTONCANCEL = 1046,
			ID_BUTTONGOFORIT = 1045,
			ID_WXSTATICTEXT6 = 1043,
			ID_EDITPORT = 1042,
			ID_WXSTATICTEXT5 = 1041,
			ID_EDITADDRESS = 1040,
			ID_WXSTATICTEXT3 = 1039,
			ID_EDITNAME = 1038,
			ID_WXPANEL1 = 1001,
			////GUI Enum Control ID End
			ID_DUMMY_VALUE_ //don't remove this value unless you have other enum values
		};
	
	private:
		void OnClose(wxCloseEvent& event);
		void CreateGUIControls();
};

#endif
